//
//  UIButton+Extension.swift
//  weibo92
//
//  Created by Apple on 15/10/27.
//  Copyright © 2015年 miao. All rights reserved.
//

import UIKit

extension UIButton{
    convenience init(titleName:String, titleColor:UIColor,backgroundImageName:String){
        
        self.init()

        setTitle(titleName, forState: UIControlState.Normal)
        setTitleColor(titleColor, forState: UIControlState.Normal)
        setBackgroundImage(UIImage(named: "common_button_white_disable"), forState: UIControlState.Normal)
    }
}
